package com.nengchuan.eic.nceconomy.dao;

import com.nengchuan.eic.nceconomy.entity.dto.ExcelUploadDTO;
import com.nengchuan.eic.nceconomy.entity.po.ExcelVerify;
import com.nengchuan.eic.nceconomy.entity.po.VerifyResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 校验结果表 Mapper 接口
 * </p>
 *
 * @author luoping
 * @since 2020-04-23
 */
@Repository
public interface VerifyResultMapper extends BaseMapper<VerifyResult> {

    int insertList(@Param("list") List<VerifyResult> verifyResultList);

    List<VerifyResult> getVerifyResult(ExcelUploadDTO dto);

    void updateConfirmData(ExcelUploadDTO dto);

    ExcelVerify getVerifyIsConfirm(ExcelUploadDTO dto);
}
